package com.zk.shop.pojo;

import lombok.Data;
import lombok.NonNull;

/**
 * 菜单表
 */

public class Menu {
    private Integer id;
    private String menuname;
    private Integer lastmenuid;
    private String htmlpath;


    public Menu() {
    }

    public Menu(Integer id, String menuname, Integer lastmenuid, String htmlpath) {
        this.id = id;
        this.menuname = menuname;
        this.lastmenuid = lastmenuid;
        this.htmlpath = htmlpath;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMenuname() {
        return menuname;
    }

    public void setMenuname(String menuname) {
        this.menuname = menuname;
    }

    public Integer getLastmenuid() {
        return lastmenuid;
    }

    public void setLastmenuid(Integer lastmenuid) {
        this.lastmenuid = lastmenuid;
    }

    public String getHtmlpath() {
        return htmlpath;
    }

    public void setHtmlpath(String htmlpath) {
        this.htmlpath = htmlpath;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", menuname='" + menuname + '\'' +
                ", lastmenuid=" + lastmenuid +
                ", htmlpath='" + htmlpath + '\'' +
                '}';
    }
}
